<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<style type="text/css">
	.stdtable tbody tr td{padding:3px 5px;}
</style>
<title>海外仓对账单</title>
<body class="withvernav">
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
	<div class="centercontent">
		<div class="pageheader notab">
			<h1 class="pagetitle">海外仓详细账单</h1>
			<span class="pagedesc"></span>
			<div class="menulist">
				<ul class="profile_summary">

				</ul>
			</div>
		</div>
		<!--pageheader-->

		<div id="contentwrapper" class="contentwrapper">
			<div id="basicform" class="subcontent">
				<!--搜索栏-->
				<div class="page">{{$pageList}} 计{{$total}}条记录</div>
				<form class="stdform stdform2" method="get" action="/oversea/showOverseaBill">
					<div class="tableoptions">
						发货时间：
						<select name="search_date" class="selection" style="width:100px;">
							<option value=""  selected>查询条件</option>
							<option value="1" {{if $search_date==1}} selected{{/if}}>发货时间</option>
							<option value="2" {{if $search_date==2}} selected{{/if}}>派单时间</option>
						</select>
						&nbsp;
						<input type="text"  name="starttime" value="{{$starttime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" /> - <input type="text"  name="endtime" value="{{$endtime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" />
						关键词: <input type="text" name="other" id="other" class="width200" value="{{$other}}" placeholder="订单号或运单号" />
						&nbsp;
						海外仓:
						<select name="warehouseId" class="selection" style="width:100px;">
							<option value=""  selected>请选择</option>
							<option value="1" {{if $warehouseId==1}} selected{{/if}}>英华英国仓</option>
							<option value="2" {{if $warehouseId==2}} selected{{/if}}>英华德国仓</option>
							<option value="3" {{if $warehouseId==3}} selected{{/if}}>EZGO美国仓</option>
							<option value="4" {{if $warehouseId==4}} selected{{/if}}>万邑通美西仓</option>
						</select>
						&nbsp;
						<button class="btn btn_orange btn_search radius50">Search</button>
						&nbsp;  &nbsp;
					</div>
				</form>
				<!--搜索栏结束-->
				<table cellpadding="0" cellspacing="0" border="0" class="stdtable">
					<thead>
					<tr bgcolor="#EEEEEE">
						<th class="head1" style="text-align: center;">序号</th>
						<th class="head1" style="text-align: center;">订单编号</th>
						<th class="head1" style="text-align: center;">派单日期</th>
						<th class="head1" style="text-align: center;">发货日期</th>
						<th class="head1" style="text-align: center;">运单号</th>
						<th class="head1" style="text-align: center;">订单重量</th>
						<th class="head1" style="text-align: center;">运费</th>
						<!--
						<th class="head1" style="text-align: center;">预估运费</th>
						-->
						<th class="head1" style="text-align: center;">客户姓名</th>
						<th class="head1" style="text-align: center;width: 150px;">订单备注</th>
					</tr>
					<tr><th colspan="9">总运费:{{$totalfee}}</th></tr>
					</thead>

					{{foreach from=$orderlist item=li key=key}}
					<tr >
						<td style="text-align: center;background:{{if $li.check_ret>1}}{{if $li.check_ret>2}}red{{else}}#33CC00{{/if}}{{/if}}{{if $li.check_ret eq 1}}#FF9900{{/if}}">{{$li.order_id}}</td>
						<td style="text-align: center;"><a href="/orderlist/orderlist?kw={{$li.order_sn}}" target="_blank">{{$li.order_sn}}</a></td>
						<td style="text-align: center;">{{$li.addTime}}</td>
						<td style="text-align: center;">{{$li.dispatchTime}}</td>
						<td style="text-align: center;">{{$li.shipping_number}}</td>
						<td style="text-align: right;">{{$li.orderweight}}</td>
						<td style="text-align: right;">{{$li.shipping_realfee}}</td>
						<!--
						<td style="text-align: right;">{{$li.shipping_expectfee}}</td>
						-->
						<td style="text-align: center;">{{$li.consignee}}</td>
						<td style="text-align: center;">{{$li.remark}}</td>
					</tr>
					{{/foreach}}
				</table>
				<div class="page">{{$pageList}} 计{{$total}}条记录</div>
			</div></div>
</body>
</html>